home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 151-175 / disk_162 / cli_utilities / stripbin / stripbin.doc < prev   
Text File  |  1992-05-06  |  1KB  |  33 lines

  1. Stripbin--Strip binary codes.
  2. by Fabbian G. Dufoe, III
  3. 22 July 1988
  4.  
  5.      If you've ever had Ed, the AmigaDOS screen editor, refuse to edit a
  6. file because it "contains binary" you need Stripbin.  Stripbin removes the
  7. characters Ed calls binary for you.  You can have Stripbin simply
  8. discard the binary characters (that's the default) or you can translate
  9. them into spaces or hexadecimal notation.  To select either type of
  10. translation you simply append an option to the command line.  The options
  11. are
  12.  
  13.      -h   Translates binary codes to hexadecimal notation.  The notation
  14.           used is that found in the C language.  The letters representing
  15.           the hexadecimal digits are preceded by the characters "0x".  So,
  16.           for example, a DEL character would be represented as "0x7f".
  17.  
  18.      -s   Translates binary codes to spaces.
  19.  
  20.      Stripbin reads standard input and writes to standard output.  Use the
  21. AmigaDOS redirection operators "<" and ">" to apply Stripbin to files.
  22. Syntax is
  23.  
  24.      Stripbin <InputFile >OutputFile option
  25.  
  26.      The InputFile and OutputFile must be different names.  If you try to
  27. read and write to the same file you will get a "CLI error: Unable to open
  28. redirection file".  If you forget to specify an InputFile Stripbin will read
  29. standard input until you type "CTRL \" to signify end of file.
  30.  
  31.      Stripbin was compiled with the Lattice AmigaDOS C Compiler, version
  32. 4.01.
  33.